import  time

for f in range(20):
    f = open(r'C:\Users\Administrator\Desktop\CICD 129.txt', 'a')
    sys_time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) + "\n"
    print(sys_time)
    f.write(sys_time)
    f.close()
